#include "RemoteClient.h"

RemoteClient::RemoteClient(Connection connection)
{
	_conection = connection;
}

RemoteClient::~RemoteClient(void)
{
}

void RemoteClient::readComplete()
{
	if (_conection.EndRead() != -1)
	{
		// TODO-handle received message
	}
	//_conection.BeginRead(_buffer, 0, 10240, readComplete);
}

bool RemoteClient::StartReading()
{
	/*if (!_conection.BeginRead(_buffer, 0, 10240, readComplete))
	{
		return false;
	}*/
}